package com.ruoyi.member.service;

import com.ruoyi.member.domain.BmInorderlist;
import com.ruoyi.member.domain.BmWarehouse;
import com.ruoyi.member.domain.MyMap;

import java.util.List;

/**
 * @Author huang
 * @Date 2023/8/11 19:46
 * @PackageName: com.ruoyi.member.service.impl
 * @ClassName: SellerMyOrderService
 * @Description:
 * @Version 1.0
 */
public interface ISellerMyOrderService {

    /**
    * @Description: 取消订单
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/12
    */
    boolean cancelOrder(String orderCode);

    /**
    * @Description: 订单调度
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/12
    */
    void dispatch(BmInorderlist bmInorderlist);

    /**
    * @Description: 查询订单列表
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/14
    */
    List<BmInorderlist> getOrderList(int orderStepFlag);

    /**
    * @Description: 往redis中存百度地图位置
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/16
    */
    boolean setMap(MyMap map);

    /**
    * @Description: 从redis中得到map信息
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/16
    */
    MyMap getMap();

    /**
     * @Description: 更改仓库状态
     * @Param:
     * @Author: huang
     * @Date: 2023/8/18
     */
    public void changeWarehouseStatus(BmWarehouse bmWarehouse);

    /**
    * @Description: 更改物流人员状态
    * @Param:
    * @return:
    * @Author: huang
    * @Date: 2023/8/18
    */
    public void changeWuliuStatus(BmWarehouse bmWarehouse);


    public BmInorderlist getOrderDetail(String orderCode);

}
